package org.budo.warehouse.logic.api;

import java.util.List;

import org.budo.warehouse.logic.entity.BinaryLogs;
import org.budo.warehouse.logic.entity.BinlogPosition;
import org.budo.warehouse.logic.entity.MasterStatus;

import com.alibaba.otter.canal.parse.support.AuthenticationInfo;

/**
 * @author lmw
 */
public interface ILogPositionLogic {
    MasterStatus masterStatus(AuthenticationInfo masterInfo);

    List<BinlogPosition> listLogPosition();

    List<BinaryLogs> showBinaryLogs(String destination);

    Boolean deleteLogPosition(String destination);
}